package com.example.unveil_the_leader.mapper;

import com.example.unveil_the_leader.entity.ProjectAndUsers;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author XCT
* @description 针对表【project_and_users】的数据库操作Mapper
* @createDate 2024-01-26 15:58:16
* @Entity com.example.unveil_the_leader.entity.ProjectAndUsers
*/

@Mapper
public interface ProjectAndUsersMapper extends BaseMapper<ProjectAndUsers> {

    /**
     * 根据项目id查找当前项目的发布者的id
     * */
    List<Integer> findPerson(@Param("id") int id);



}




